package com.dy.lock.screen.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.lock.screen.dao.DiscoverListDao;
import com.dy.lock.screen.pojo.DiscoverListInfo;
import com.dy.lock.screen.service.DiscoverListService;

@Service("discoverListService")
public class DiscoverListServiceImpl implements DiscoverListService {

	@Resource(name = "discoverListDao")
	private DiscoverListDao discoverListDao;

	@Override
	public DiscoverListInfo queryByPrimartKey(String id) {
		// TODO Auto-generated method stub
		return this.discoverListDao.queryByPrimartKey(id);
	}

	@Override
	public List<DiscoverListInfo> queryPage(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return this.discoverListDao.queryT(map);
	}

}
